package com.etc.entity;

import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import java.io.Serializable;

public class MatterImage implements Serializable {
    private byte[] fileByte;
    private String originFileName;

    private String userphone;

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public MatterImage(byte[] fileByte, String originFileName, String userphone) {
        this.fileByte = fileByte;
        this.originFileName = originFileName;
        this.userphone = userphone;
    }

    public byte[] getFileByte() {
        return fileByte;
    }

    public void setFileByte(byte[] fileByte) {
        this.fileByte = fileByte;
    }

    public String getOriginFileName() {
        return originFileName;
    }

    public void setOriginFileName(String originFileName) {
        this.originFileName = originFileName;
    }

    public MatterImage(byte[] fileByte, String originFileName) {
        this.fileByte = fileByte;
        this.originFileName = originFileName;
    }

    public MatterImage() {
    }


}
